<div class="row">
    <div class="col-sm-8 col-sm-offset-2">
        <div class="card">
            <div class="card-header card-header-icon" data-background-color="red">
                <i class="fa fa-user-circle-o fa-fw"></i>
            </div>
            <div class="card-content">
                <h4 class="card-title">
                    我的资料
                </h4>
                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">游戏标识：</label>
                            <input type="text" class="form-control" value="<?= $playerTbl->PlayerID?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">游戏昵称：</label>
                            <input type="text" class="form-control" value="<?= $playerTbl->PlayerName?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">代理账号：</label>
                            <input type="text" class="form-control" value="<?= $master->UserName?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">代理状态：</label><?php $vary = (float)$agent->Vary?>
                            <input type="text" class="form-control" value="<?= empty($vary) ? '异常' : '正常'?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">代理级别：</label>
                            <input type="text" class="form-control" value="<?= $roleName?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">上级代理：</label>
                            <input type="text" class="form-control" value="<?= empty($agency) ? '无' : $agency->PlayerName?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">下级代理人数：</label>
                            <input type="text" class="form-control" value="<?= $levelNum?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">玩家人数：</label>
                            <input type="text" class="form-control" value="<?= $playerNum?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">注册日期：</label>
                            <input type="text" class="form-control" value="<?= date('Y-m-d H:i:s', $playerTbl->RegisterDate)?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">登录日期：</label>
                            <input type="text" class="form-control" value="<?= $master['LoginDate']?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">登录地址：</label>
                            <input type="text" class="form-control" value="<?= empty($address) ? '---' : $address?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">我的钻石 / 金币：</label>
                            <input type="text" class="form-control" value="<?= $playerTbl->Diamond?> / <?= $playerTbl->GoldCoin?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                </div>
                <?php if ($master->AreaType != 1) :?>
                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">本月层级业绩：</label>
                            <input type="text" class="form-control" value="¥<?= $achievement?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">本月层级收益：</label>
                            <input type="text" class="form-control" value="¥<?= $bonus['Balance']?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">可提奖金：</label>
                            <input type="text" class="form-control" value="¥<?= empty($agent->Amount) ? '0.00' : $agent->Amount?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                </div>
                <?php endif;?>
                <?php if (!empty($master->AreaType)) :?>
                    <div class="row">
                        <div class="col-md-4">
                            <div class="form-group label-floating is-empty is-info">
                                <label class="control-label">本月区域业绩：</label>
                                <input type="text" class="form-control" value="¥<?= $areaachievement?>" disabled="">
                                <span class="material-input"></span></div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group label-floating is-empty is-info">
                                <label class="control-label">本月区域收益：</label>
                                <input type="text" class="form-control" value="¥<?= $areabonus['Balance']?>" disabled="">
                                <span class="material-input"></span></div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group label-floating is-empty is-info">
                                <label class="control-label">加入时间：</label>
                                <input type="text" class="form-control" value="<?= $agent->CollectDate?>" disabled="">
                                <span class="material-input"></span></div>
                        </div>
                    </div>
                <?php endif;?>
                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">支付宝号：</label>
                            <input type="text" class="form-control" value="<?= empty($agent->Alipay) ? '---' : $agent->Alipay?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">真实姓名：</label>
                            <input type="text" class="form-control" value="<?= empty($agent->ActualName) ? '---' : $agent->ActualName?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group label-floating is-empty is-info">
                            <label class="control-label">手机号码：</label>
                            <input type="text" class="form-control" value="<?= empty($agent->Mobile) ? '---' : $agent->Mobile?>" disabled="">
                            <span class="material-input"></span></div>
                    </div>
                </div>

                <div class="clearfix padding-bottom"></div>
            </div>
        </div>
    </div>
</div>